import { Layout } from '@fl/utils/routerHelper'

const task: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/member-tasks/save-task/index.vue'),
            meta: {
                title: '会员任务',
            },
            name: 'anjutong-task-save-task',
            path: 'save-task-list',
        },
        {
            component: () => import('@/pages/member-tasks/save-task/save-task.vue'),
            meta: {
                activeMenu: '/member-center/task/save-task-list',
                hidden: true,
                noTagsView: true,
                title: '添加任务',
            },
            name: 'anjutong-task-save-task-saveTask',
            path: 'saveTask',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-grommet-icons:task',
        title: '会员任务',
    },
    name: 'anjutong-task',
    path: 'task',
}

export default task
